#ifndef EGG_TEXTURE_H
#define EGG_TEXTURE_H

#include "Image2D.h"

namespace egg{

    class Texture{
    public:
        Texture(uint32 _type){
            mType=_type;
        }

        inline GLuint getID(){
            return mID;
        }
        inline GLuint getType(){
            return mType;
        }
        inline GLuint activate(){
            return gDevice->setTexture(mType,mID);
        }
    protected:
        GLuint mID;
        GLuint mType;
    };

    typedef shared_ptr<Texture> TexturePtr;

}

#endif